<template>
	<view class="box" :style="{marginLeft:mar+'rpx'}">
		<button class="button" size="mini" :style="{borderRadius:radius+'rpx',backgroundColor:bgColor,
			height:he+'rpx',lineHeight:he+'rpx',fontSize:fontSize+'rpx',
			paddingLeft:pad+'rpx',paddingRight:pad+'rpx'}">{{text}}</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		props: {
			// 文字
			text: {
				type: String,
				default: '',
			},
			// 圆角
			radius: {
				typeof: Number,
				default: 50,
			},
			// 背景色
			bgColor: {
				type: String,
				default: "#58B99D",
			},
			// 字体大小
			fontSize: {
				type: [String, Number],
				default: "26",
			},
			// 字体颜色
			fontColor: {
				type: String,
				default: "#fff",
			},
			he: {
				type: [String, Number],
				default: "84",
			},
			pad: {
				type: [String, Number],
				default: "10",
			},
			mar: {
				type: [String, Number],
				default: "0",
			}
		},
		created() {

		},
		methods: {},
	};
</script>

<style lang="scss" scoped>
	.box {
		width: 100%;
	}


	::v-deep button {
		background-color: #58B99D;
		margin: 0;
		width: 100%;
		color: #fff;
		height: 84rpx;
		line-height: 84rpx;
		font-size: 30rpx;
	}
</style>